projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7693a57
)
(Fset_buffer_multibyte): Error if marker is put
author
Richard M. Stallman
<rms@gnu.org>
Mon, 11 May 1998 01:14:36 +0000
(
01:14
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 11 May 1998 01:14:36 +0000
(
01:14
+0000)
on buffer's marker-chain while we have temporarily put nil there.
src/buffer.c
patch
|
blob
|
history
diff --git
a/src/buffer.c
b/src/buffer.c
index e781d25646c22900172cbe954c799a1c4e8ed9b9..70cb13a9b757764df2a8071933ecf53bd2aef374 100644
(file)
--- a/
src/buffer.c
+++ b/
src/buffer.c
@@
-1822,6
+1822,12
@@
but the contents viewed as characters do change.")
tail = XMARKER (tail)->chain;
}
+
+ /* Make sure no markers were put on the chain
+ while the chain value was incorrect. */
+ if (! EQ (BUF_MARKERS (current_buffer), Qnil))
+ abort ();
+
BUF_MARKERS (current_buffer) = markers;
/* Do this last, so it can calculate the new correspondences